/**
 * Created by mill on 2017/11/19.
 */
import React from 'react';
import {render} from 'react-dom';
import Mtable from './js/Mtable'


window.fetch("https://api.github.com/users/octocat/gists")
    .then(function(response){
       var jj= response.json();
        jj.then(function(jjs){
            console.log(jjs);
        });
    });

render(
    <Mtable url={"persons.json"} tt={"today is good day"}/>
    , document.getElementById('root'));